package com.echo.im.repository.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.echo.im.repository.dao.entity.User;

/**
 *
 * @author echo
 * @date 2024-08-17
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名查询用户
     * @param userName 用户名
     * @return User
     */
    User selectUserByUserName(String userName);
}
